package model.Board;

/**
 * Element within the board. 
 * Cells are either ships or water.
 * 
 * @author Peter-John Rowe
 *
 */
public abstract class Cell {

	protected Coordinates m_oCoordinates;

	/**
	 * Constructor
	 * 
	 * @param a_nRowCoordinate - row coordinate
	 * @param a_nColumnCoordinate - column coordinate
	 */
	public Cell(int a_nRowCoordinate,int a_nColumnCoordinate) {
		m_oCoordinates = new Coordinates(a_nRowCoordinate,a_nColumnCoordinate);
	}

	/**
	 * Gets the coordinates of the cell
	 * 
	 * @return m_oCoordinates
	 */
	public Coordinates getCellCoordinates() {
		return m_oCoordinates;
	}

} // Cell Class
